﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ZhongKeSite.Entity;
using ZhongKeSite.Entity.Models;

namespace ZhongKeSite.Service
{
    public interface IDownLoadService
    {
        #region DownLoad管理
        LayPager<DownLoad> GetDownLoadPagedList(int pageIndex, int pageSize, Expression<Func<DownLoad, bool>> predicate);
        ResultResponse<DownLoad> GetDownLoad(string id);
        ResultResponse AddDownLoad(DownLoad model);
        ResultResponse UpdateDownLoad(DownLoad model);
        ResultResponse UpdateDownLoadState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
